git-svn-id: https://synfig.svn.sourceforge.net/svnroot/synfig@2134
1f10aa63-cdf2-0310-b900-
c93c546f37ac
String errors;
Canvas::Handle outside_canvas(synfig::open_canvas(filename, errors));
if(!outside_canvas)
- throw String(_("Unable to open this composition"));
+ throw String(_("Unable to open this composition")) + ":\n\n" + errors;
Layer::Handle layer(add_layer_to("PasteCanvas",get_canvas()));
if(!layer)
}
catch(String x)
{
- get_ui_interface()->error(x+" -- "+filename);
+ get_ui_interface()->error(filename + ": " + x);
return false;
}
catch(...)