Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/contract-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ jobs:

- name: Comment PR with contract changes
if: steps.contract-diff.outputs.has_changes == 'true'
uses: actions/github-script@v8
uses: actions/github-script@v9
with:
script: |
const fs = require('fs');
Expand Down
2 changes: 1 addition & 1 deletion application.go
Original file line number Diff line number Diff line change
Expand Up @@ -739,7 +739,7 @@ func (app *StdApplication) InitWithApp(appToPass Application) error {
defer func() {
if r := recover(); r != nil {
mu.Lock()
errs = append(errs, fmt.Errorf("panic initializing module %s: %v", name, r))
errs = append(errs, fmt.Errorf("%w %s: %v", ErrModuleInitializationPanic, name, r))
mu.Unlock()
}
}()
Expand Down
13 changes: 7 additions & 6 deletions errors.go
Original file line number Diff line number Diff line change
Expand Up @@ -87,12 +87,13 @@ var (
ErrTenantIsolationViolation = errors.New("tenant isolation violation")

// Reload errors
ErrReloadCircuitBreakerOpen = errors.New("reload circuit breaker is open; backing off")
ErrReloadChannelFull = errors.New("reload request channel is full")
ErrReloadInProgress = errors.New("reload already in progress")
ErrReloadStopped = errors.New("reload orchestrator is stopped")
ErrReloadTimeout = errors.New("reload timed out waiting for module")
ErrDynamicReloadNotEnabled = errors.New("dynamic reload not enabled")
ErrReloadCircuitBreakerOpen = errors.New("reload circuit breaker is open; backing off")
ErrReloadChannelFull = errors.New("reload request channel is full")
ErrReloadInProgress = errors.New("reload already in progress")
ErrReloadStopped = errors.New("reload orchestrator is stopped")
ErrReloadTimeout = errors.New("reload timed out waiting for module")
ErrDynamicReloadNotEnabled = errors.New("dynamic reload not enabled")
ErrModuleInitializationPanic = errors.New("panic initializing module")

// Observer/Event emission errors
ErrNoSubjectForEventEmission = errors.New("no subject available for event emission")
Expand Down
Loading