Skip to content

Commit ae56e69

Browse files
authored
fix: add webpush to flow-bom (#17364)
Update bad error handler message
1 parent c9704e7 commit ae56e69

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

flow-bom/pom.xml

+5
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,11 @@
7878
<artifactId>vaadin-spring</artifactId>
7979
<version>${project.version}</version>
8080
</dependency>
81+
<dependency>
82+
<groupId>com.vaadin</groupId>
83+
<artifactId>flow-webpush</artifactId>
84+
<version>${project.version}</version>
85+
</dependency>
8186
</dependencies>
8287
</dependencyManagement>
8388
</project>

flow-webpush/src/main/java/com/vaadin/flow/server/webpush/WebPush.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,8 @@ public class WebPush {
6565
private String publicKey;
6666

6767
private final SerializableConsumer<String> errorHandler = err -> {
68-
throw new RuntimeException("Unable to retrieve extended "
69-
+ "client details. JS error is '" + err + "'");
68+
throw new RuntimeException("Unable to execute web push "
69+
+ "command. JS error is '" + err + "'");
7070
};
7171

7272
/**

0 commit comments

Comments
 (0)