mirror of
https://github.com/pocketbase/pocketbase.git
synced 2026-11-10 22:08:07 +01:00
added non-zero exit status support for returned command errors
This commit is contained in:
1 parent
fd25a8ae32
commit
200c19b26f
2 files changed
+25
-36
No files matched your search
+4
-1
@@ -1,4 +1,7 @@
|
||||
## v0.39.11 (WIP)
|
||||
## v0.40.0 (WIP)
|
||||
|
||||
- Propagate console command errors and recovered panics to `app.Start()` so that the program can exit with non-zero code while still ensuring that `app.OnTerminate` hook (responsible for the app graceful shutdown handling) was triggered.
|
||||
_⚠️ Note that this could be a slight breaking change in case you are chaining PocketBase commands and relied on the previous `0` exit status for `Command.RunE` returned errors._
|
||||
|
||||
- Fixed "API preview" examples ([#7782](https://github.com/pocketbase/pocketbase/issues/7782)).
|
||||
|
||||
|
||||
Reference in new issue
Block a user