mirror of
https://github.com/pocketbase/pocketbase.git
synced 2026-11-19 19:03:32 +01:00
updated code comments and added some notes
This commit is contained in:
1 parent
a7bb599cd0
commit
c0a6a21b9e
7 files changed
+110
-103
No files matched your search
@@ -163,6 +163,7 @@ func (pb *PocketBase) Execute() error {
|
||||
go func() {
|
||||
if err := pb.RootCmd.Execute(); err != nil {
|
||||
// @todo replace with db log once generalized logs are added
|
||||
// and maybe consider reorganizing the code to return os.Exit(1)
|
||||
// (note may need to update the existing commands to not silence errors)
|
||||
color.Red(err.Error())
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user