aboutsummaryrefslogtreecommitdiffhomepage
path: root/storage/timezone.go
diff options
context:
space:
mode:
Diffstat (limited to 'storage/timezone.go')
-rw-r--r--storage/timezone.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/storage/timezone.go b/storage/timezone.go
index e5174ca..d21ac26 100644
--- a/storage/timezone.go
+++ b/storage/timezone.go
@@ -14,14 +14,14 @@ func (s *Storage) Timezones() (map[string]string, error) {
timezones := make(map[string]string)
rows, err := s.db.Query(`SELECT name FROM pg_timezone_names() ORDER BY name ASC`)
if err != nil {
- return nil, fmt.Errorf("unable to fetch timezones: %v", err)
+ return nil, fmt.Errorf(`store: unable to fetch timezones: %v`, err)
}
defer rows.Close()
for rows.Next() {
var timezone string
if err := rows.Scan(&timezone); err != nil {
- return nil, fmt.Errorf("unable to fetch timezones row: %v", err)
+ return nil, fmt.Errorf(`store: unable to fetch timezones row: %v`, err)
}
if !strings.HasPrefix(timezone, "posix") && !strings.HasPrefix(timezone, "SystemV") && timezone != "localtime" {