Index: src/FileSystemJsObject.cpp |
diff --git a/src/FileSystemJsObject.cpp b/src/FileSystemJsObject.cpp |
index 4225b2e6217e4108116dfee5aa3c6043883b6a81..f62e00429eea3dc98cf5d028592ca733bacc4faf 100644 |
--- a/src/FileSystemJsObject.cpp |
+++ b/src/FileSystemJsObject.cpp |
@@ -179,7 +179,7 @@ namespace |
if (!globalContext->IsObject()) |
throw std::runtime_error("`this` pointer has to be an object"); |
- const v8::TryCatch tryCatch; |
+ const v8::TryCatch tryCatch(jsEngine->GetIsolate()); |
const auto contentEnd = content.cend(); |
auto stringBegin = SkipEndOfLine(content.begin(), contentEnd); |
do |