Skip to content

Commit

Permalink
Merge pull request #2738 from eclipse/cd_restore_deleteMarkers
Browse files Browse the repository at this point in the history
Restore old exception handling for
  • Loading branch information
cdietrich authored Jul 12, 2023
2 parents 105a4dc + 4cebfc2 commit c32a3be
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright (c) 2014, 2020 itemis AG (http://www.itemis.eu) and others.
* Copyright (c) 2014, 2023 itemis AG (http://www.itemis.eu) and others.
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License 2.0 which is available at
* http://www.eclipse.org/legal/epl-2.0.
Expand Down Expand Up @@ -65,8 +65,8 @@ protected void createTaskMarkers(IFile file, List<Task> tasks, IProgressMonitor
public void deleteMarkers(IFile file, IProgressMonitor monitor) {
try {
file.deleteMarkers(TaskMarkerTypeProvider.XTEXT_TASK_TYPE, true, IResource.DEPTH_ZERO);
} catch (Throwable e) {
throw new RuntimeException(e);
} catch (CoreException e) {
LOG.error(e.getMessage(), e);
}
}
}

0 comments on commit c32a3be

Please sign in to comment.