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 c6240ad commit 1ea66e4Copy full SHA for 1ea66e4
goto/gotomagic/magic.py
@@ -11,7 +11,7 @@
11
import os
12
import sys
13
14
-from .text import GotoWarning
+from .text import GotoWarning, GotoError
15
from .. import settings
16
from . import utils
17
@@ -228,4 +228,4 @@ def save_magic(jfile, magic):
228
f.write(data)
229
return None
230
except Exception as e:
231
- return GotoWarning("magic_could_not_be_saved", message=str(e))
+ return GotoError("magic_could_not_be_saved", message=str(e))
0 commit comments