Repository navigation
Better errors - #4906
Better errors#4906
Conversation
|
Love this 👍 |
|
There are so many places we throw sketch app-killing errors. |
There was a problem hiding this comment.
What do you think about just using a custom code instead? To be consistent with other IO errors from node.
This could be be like error.code = 'ETOOLARGETOOPEN' or something.
eed8ab3 to
7972032
Compare
There was a problem hiding this comment.
💄 "#{error.message} Large file support..."
265cb7c to
4b64db8
Compare
c1e7ca8 to
43b06f7
Compare
There was a problem hiding this comment.
This might be config.json so you may want to use path.basename(@getUserConfigPath())
7aff289 to
effb672
Compare
|
Ok, I think this is ready to go. @kevinsawicki another quick pass would be rad |
|
Just a heads up, you might want to rebase, doesn't look like this will merge cleanly currently. |
There was a problem hiding this comment.
@ instead of this? I see it was using this before, but might be nice to change it now since it is being edited.
c455f3e to
d67216b
Compare
They work for me!
Use the computed path as well
d67216b to
5cb18fc
Compare
TODO
unable to watch patherrors for config, keymap, user scripts on startup