File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ task test, "Test the project":
2828 exec & " nim c { flags} -r tests/rationals "
2929
3030task make, " Export the project" :
31- exec & " nim c -d:danger { flags} --out:auto-editor src/main.nim "
31+ exec & " nim c -d:danger --panics:on { flags} --passC: \" -flto \" --out:auto-editor src/main.nim "
3232 when defined (macosx):
3333 exec " strip -ur auto-editor"
3434 exec " stat -f \" %z bytes\" ./auto-editor"
Original file line number Diff line number Diff line change @@ -228,7 +228,9 @@ proc editMedia*(args: var mainArgs) =
228228 applyArgs (tlV3, args)
229229 else :
230230 # Make `timeline` from media file
231- var container = av.open (args.input)
231+ var container = (
232+ try : av.open (args.input) except IOError : error & " Input file doesn't exist: { args.input} "
233+ )
232234 defer : container.close ()
233235
234236 usePath = args.input
You can’t perform that action at this time.
0 commit comments