temporary fix
This commit is contained in:
parent
27e0f6bd71
commit
6bcc7224e8
@ -342,9 +342,11 @@ ImageOperation imageOperationFromString(StringView string) {
|
|||||||
return NullImageOperation();
|
return NullImageOperation();
|
||||||
}
|
}
|
||||||
} catch (OutOfRangeException const& e) {
|
} catch (OutOfRangeException const& e) {
|
||||||
return ErrorImageOperation{std::current_exception()};
|
return ErrorImageOperation{e.what()};
|
||||||
} catch (BadLexicalCast const& e) {
|
} catch (BadLexicalCast const& e) {
|
||||||
return ErrorImageOperation{std::current_exception()};
|
return ErrorImageOperation{e.what()};
|
||||||
|
} catch (StarException const& e) {
|
||||||
|
return ErrorImageOperation{e.what()};
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user