2021-10-26 09:02:33 -04:00
|
|
|
import { registerDeprecationHandler } from '@ember/debug';
|
|
|
|
|
|
2022-11-15 19:36:30 -08:00
|
|
|
export function initialize() {
|
|
|
|
|
registerDeprecationHandler((message, options, next) => {
|
|
|
|
|
if (options?.url) {
|
|
|
|
|
message += options.url;
|
|
|
|
|
}
|
|
|
|
|
next(message, options);
|
|
|
|
|
});
|
2021-10-26 09:02:33 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export default {
|
|
|
|
|
initialize,
|
|
|
|
|
};
|