We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2cb827a commit 971c81aCopy full SHA for 971c81a
.changeset/old-times-double.md
packages/ts/index.ts
@@ -101,10 +101,8 @@ export namespace log {
101
* @param msg Format string a la "Value = {}, other = {}".
102
* @param args Format string arguments.
103
*/
104
- export function critical(msg: string, args: Array<string>): never {
105
- const message = format(msg, args);
106
- log(Level.CRITICAL, message);
107
- throw new Error(message);
+ export function critical(msg: string, args: Array<string>): void {
+ log(Level.CRITICAL, format(msg, args));
108
}
109
110
/**
0 commit comments