1
0
mirror of https://github.com/octoleo/plantuml-server.git synced 2024-11-11 15:20:58 +00:00

version 1.2017.14

This commit is contained in:
Arnaud Roques 2017-06-05 13:32:25 +02:00
parent 6fb3c39096
commit 09140bb9d8
2 changed files with 2 additions and 2 deletions

View File

@ -179,7 +179,7 @@
<dependency>
<groupId>net.sourceforge.plantuml</groupId>
<artifactId>plantuml</artifactId>
<version>1.2017.13</version>
<version>1.2017.14</version>
</dependency>
<dependency>
<groupId>javax.servlet</groupId>

View File

@ -141,7 +141,7 @@ class DiagramResponse {
final PSystemError error = (PSystemError) diagram;
for (ErrorUml err : error.getErrorsUml()) {
response.addHeader("X-PlantUML-Diagram-Error", err.getError());
response.addHeader("X-PlantUML-Diagram-Error-Line", "" + err.getPosition());
response.addHeader("X-PlantUML-Diagram-Error-Line", "" + err.getLineLocation().getPosition());
}
}
addHeaders(response);