updated code comments and added some notes

This commit is contained in:
Gani Georgiev committed 2023-06-19 21:45:45 +03:00
1 parent a7bb599cd0
commit c0a6a21b9e
7 files changed
+110 -103

No files matched your search

+1
View File
@@ -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())
}