returned OnAfterBootstrap error and added more jsvm tests

This commit is contained in:
Gani Georgiev
2023-07-12 17:12:45 +03:00
parent d0a68da7e7
commit 6fe04bd280
6 changed files with 26837 additions and 3165 deletions
+1 -5
View File
@@ -349,11 +349,7 @@ func (app *BaseApp) Bootstrap() error {
// cleanup the pb_data temp directory (if any)
os.RemoveAll(filepath.Join(app.DataDir(), LocalTempDirName))
if err := app.OnAfterBootstrap().Trigger(event); err != nil && app.IsDebug() {
log.Println(err)
}
return nil
return app.OnAfterBootstrap().Trigger(event)
}
// ResetBootstrapState takes care for releasing initialized app resources