summaryrefslogtreecommitdiff
path: root/config.go
diff options
context:
space:
mode:
Diffstat (limited to 'config.go')
-rw-r--r--config.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/config.go b/config.go
index 3f4d976..e88a4a2 100644
--- a/config.go
+++ b/config.go
@@ -20,7 +20,7 @@ func (all *Repos) ConfigSave() error {
}
if all == nil {
log.Warn("gitpb all == nil")
- panic("why is this nil?")
+ return errors.New("gitpb.ConfigSave() all == nil")
}
data, err := all.Marshal()