Closed des-des closed 8 years ago
Bug...? sounds more like an undocumented feature... :wink:
Yeah.. maybe an enhancement to ampl would be to drop the error while logging that there was a problem?
@des-des it depends on how the ampl
package is going to be used...
If the error is being shown to a non-techical person in a browser it needs to be explained to them in English. but if the purpose is a command-line tool for developers it can be a simple console.warn
...
ok gonna go with console.warn for now. Maybe later can catch the errors higher up and expose them to the developer using ampl so that they can decide what to do.
When the module image-size tries to find the dimensions of an image which it does not support it throws an error. This error then crashes ampl..