Skip to content

Commit

Permalink
Do not use GString for error message (asciidoctor#377)
Browse files Browse the repository at this point in the history
  • Loading branch information
ysb33r committed Jun 27, 2019
1 parent a0d90fc commit 1455e7a
Showing 1 changed file with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -996,8 +996,11 @@ class AbstractAsciidoctorTask extends DefaultTask {
args execConfigurationData.absolutePath
}
}
} catch (Exception e) {
throw new AsciidoctorRemoteExecutionException("Remote Asciidoctor process failed to complete successfully", e)
} catch (GradleException e) {
throw new AsciidoctorRemoteExecutionException(
'Remote Asciidoctor process failed to complete successfully',
e
)
}

executorConfigurations
Expand Down

0 comments on commit 1455e7a

Please sign in to comment.