File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ import type { IUserScript } from "../types/macros/IUserScript";
55import type { IObsidianCommand } from "../types/macros/IObsidianCommand" ;
66import { log } from "../logger/logManager" ;
77import { handleError } from "../utils/errorUtils" ;
8+ import { ErrorLevel } from "../logger/errorLevel" ;
89import { CommandType } from "../types/macros/CommandType" ;
910import { QuickAddApi } from "../quickAddApi" ;
1011import type { ICommand } from "../types/macros/ICommand" ;
@@ -246,7 +247,7 @@ export class MacroChoiceEngine extends QuickAddChoiceEngine {
246247
247248 await this . userScriptDelegator ( obj [ selected ] ) ;
248249 } catch ( err ) {
249- handleError ( err , "Error in script object handling" , " Log" ) ;
250+ handleError ( err , "Error in script object handling" , ErrorLevel . Log ) ;
250251 }
251252 }
252253
@@ -353,4 +354,4 @@ export class MacroChoiceEngine extends QuickAddChoiceEngine {
353354 this . choiceExecutor . variables . set ( key , aiOutputVariables [ key ] ) ;
354355 }
355356 }
356- }
357+ }
Original file line number Diff line number Diff line change 99} from "../utilityObsidian" ;
1010import GenericSuggester from "../gui/GenericSuggester/genericSuggester" ;
1111import { FILE_NUMBER_REGEX , MARKDOWN_FILE_EXTENSION_REGEX } from "../constants" ;
12- import { log } from "../logger/logManager" ;
1312import { handleError } from "../utils/errorUtils" ;
1413import type { IChoiceExecutor } from "../IChoiceExecutor" ;
1514
You can’t perform that action at this time.
0 commit comments