Skip to content

Commit d01f8a8

Browse files
committed
[futurepress#98] Improves error messages
1 parent 3971211 commit d01f8a8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/index.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -434,8 +434,8 @@ class StaticServer {
434434
if (!this._stateChangeEmitter.hasListeners) {
435435
throw Error(
436436
starting
437-
? 'Server auto-start on the app going into foreground failed'
438-
: 'Server auto-stop on the app going into background failed',
437+
? `Server (#${this._id}) auto-start on the app going into foreground failed`
438+
: `Server (#${this._id}) auto-stop on the app going into background failed`,
439439
);
440440
}
441441
}

0 commit comments

Comments
 (0)