Skip to content
Snippets Groups Projects
Commit 2e5682cf authored by Florian Angerer's avatar Florian Angerer
Browse files

[GR-5989] Disable nasty exception reporting.

PullRequest: fastr/1140
parents cb57197a d4e2c119
No related branches found
No related tags found
No related merge requests found
......@@ -16,6 +16,8 @@ import static java.nio.file.StandardOpenOption.WRITE;
import java.io.BufferedWriter;
import java.io.IOException;
import java.nio.file.AccessDeniedException;
import java.nio.file.FileAlreadyExistsException;
import java.nio.file.Files;
import java.nio.file.Path;
import java.nio.file.Paths;
......@@ -405,6 +407,8 @@ public class RDeparse {
s.element.setSourceSection(source.createSection(s.start, s.length));
}
}
} catch (AccessDeniedException | FileAlreadyExistsException e) {
fixupSourcesTextInternal();
} catch (IOException e) {
RInternalError.reportError(e);
fixupSourcesTextInternal();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment