mirror of
https://github.com/m1k1o/neko-rooms.git
synced 2026-11-02 22:51:34 -06:00
fix error message.
This commit is contained in:
@@ -136,7 +136,7 @@ func (s *Room) Set() {
|
||||
s.InstanceData = viper.GetString("instance.data")
|
||||
if s.InstanceData != "" {
|
||||
if !strings.HasPrefix(s.InstanceData, "/") {
|
||||
log.Panic().Msg("invalid `instance.data`, must be absolute path starting with /.")
|
||||
log.Panic().Msg("invalid `instance.data`, must be absolute path starting with /")
|
||||
}
|
||||
|
||||
if strings.Contains(s.InstanceData, ":") {
|
||||
|
||||
Reference in New Issue
Block a user