bug: fixed changed Homebox endpoint and added better exception handling.

This commit is contained in:
2026-06-23 19:08:35 +02:00
parent 5776676eeb
commit f0d536d8f4
7 changed files with 36 additions and 14 deletions
@@ -1,11 +1,16 @@
package com.vaessl.app.exception;
import lombok.Getter;
import lombok.RequiredArgsConstructor;
@Getter
@RequiredArgsConstructor
public class RemoteApiException extends RuntimeException {
private final String appUrl;
private final String path;
public RemoteApiException(String appUrl, String path) {
super("Remote API returned empty body: " + appUrl + path);
this.appUrl = appUrl;
this.path = path;
}
}