You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ifstrings.Contains(err.Error(), "Trying to read a database file with version number") {
281
-
returnnil, fmt.Errorf("database file was created with an older, incompatible version of Rill (please remove `tmp` directory and try again)")
282
-
}
283
-
284
-
// Check for another process currently accessing the DB
285
-
ifstrings.Contains(err.Error(), "Could not set lock on file") {
286
-
returnnil, fmt.Errorf("failed to open database (is Rill already running?): %w", err)
287
-
}
288
-
289
279
ifstrings.Contains(err.Error(), "Symbol not found") {
290
280
fmt.Printf("Your version of macOS is not supported. Please upgrade to the latest major release of macOS. See this link for details: https://support.apple.com/en-in/macos/upgrade")
ifstrings.Contains(err.Error(), "Trying to read a database file with version number") {
68
-
returnnil, err
69
-
// TODO :: fix
70
-
// return nil, fmt.Errorf("database file %q was created with an older, incompatible version of Rill (please remove it and try again)", c.config.DSN)
71
-
}
72
-
73
-
// Check for another process currently accessing the DB
74
-
ifstrings.Contains(err.Error(), "Could not set lock on file") {
75
-
returnnil, fmt.Errorf("failed to open database (is Rill already running?): %w", err)
66
+
ifstrings.Contains(err.Error(), "Symbol not found") {
67
+
fmt.Printf("Your version of macOS is not supported. Please upgrade to the latest major release of macOS. See this link for details: https://support.apple.com/en-in/macos/upgrade")
0 commit comments