You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Companion to #527: if a faulty format option is passed the expectation is that the function will throw (rather than just return an error in the callback). But based on how https://github.com/mapnik/node-mapnik/blob/master/src/mapnik_image.cpp#L3361-L3377 works a faulty format option will sneak through into the async machinery. This makes it inconsistent to the sync function in behavior with an invalid format.
The text was updated successfully, but these errors were encountered:
Companion to #527: if a faulty
format
option is passed the expectation is that the function will throw (rather than just return an error in the callback). But based on how https://github.com/mapnik/node-mapnik/blob/master/src/mapnik_image.cpp#L3361-L3377 works a faultyformat
option will sneak through into the async machinery. This makes it inconsistent to the sync function in behavior with an invalid format.The text was updated successfully, but these errors were encountered: