Skip to content

Commit 9b678c2

Browse files
committed
Throw error instead of string error (better stack traces)
1 parent 8278b64 commit 9b678c2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/configuration/Configuration.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -366,7 +366,7 @@ export class Configuration implements IConfigurationSettings {
366366
}
367367

368368
public useLocalStorage(): void {
369-
throw 'Must be overridden.';
369+
throw new Error('Must be overridden.');
370370
}
371371

372372
// TODO: Support a min log level.

0 commit comments

Comments
 (0)