Skip to content

Commit c835743

Browse files
authored
Merge pull request #217 from jrjohnson/throw-with-id
Throw Deprecation ID
2 parents 7f7230c + 377c957 commit c835743

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

addon/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ export function handleDeprecationWorkflow(config, message, options, next) {
101101
break;
102102
}
103103
case 'throw':
104-
throw new Error(message);
104+
throw new Error(message + ` (id: ${options?.id || 'unknown'})`);
105105
default:
106106
next(message, options);
107107
break;

0 commit comments

Comments
 (0)