Веб-сайт самохостера Lotigara

summaryrefslogtreecommitdiff
path: root/source/core/StarImageProcessing.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/core/StarImageProcessing.cpp')
-rw-r--r--source/core/StarImageProcessing.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/core/StarImageProcessing.cpp b/source/core/StarImageProcessing.cpp
index 5ed8690..d1ff0dd 100644
--- a/source/core/StarImageProcessing.cpp
+++ b/source/core/StarImageProcessing.cpp
@@ -342,9 +342,9 @@ ImageOperation imageOperationFromString(StringView string) {
return NullImageOperation();
}
} catch (OutOfRangeException const& e) {
- return ErrorImageOperation{std::exception_ptr()};
+ return ErrorImageOperation{std::current_exception()};
} catch (BadLexicalCast const& e) {
- return ErrorImageOperation{std::exception_ptr()};
+ return ErrorImageOperation{std::current_exception()};
}
}