initializeAppOnly initializes the app without starting the server (for testing)
()
| 13 | |
| 14 | // initializeAppOnly initializes the app without starting the server (for testing) |
| 15 | func initializeAppOnly() *api.Server { |
| 16 | log := logger.GetLogger() |
| 17 | app, err := internal.InitializeApp() |
| 18 | if err != nil { |
| 19 | log.Fatalf("[PAPERDEBUGGER] failed to initialize app: %v", err) |
| 20 | } |
| 21 | return app |
| 22 | } |