mirror of
https://github.com/gmbrax/MediaManager-core.git
synced 2026-11-10 06:20:16 +00:00
Compare commits
4
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
92b4b21e60 | ||
|
|
026a3aefa4 | ||
|
|
93c458d856 | ||
|
|
cd4b35f3c9 |
+1
-1
@@ -41,7 +41,7 @@ public class CreateBitDepthHandler implements ActionHandler {
|
||||
.setPayload(ByteString.copyFromUtf8("Validation error: " + e.getMessage()));
|
||||
|
||||
} catch (Exception e) {
|
||||
logger.error("Error creating artist", e);
|
||||
logger.error("Error creating bit-depth", e);
|
||||
return TransportProtocol.Response.newBuilder()
|
||||
.setStatusCode(500)
|
||||
.setPayload(ByteString.copyFromUtf8("Error: " + e.getMessage()));
|
||||
|
||||
+1
-1
@@ -38,7 +38,7 @@ public class UpdateBitDepthHandler implements ActionHandler {
|
||||
logger.warn("BitDepth not found with ID: {}", id);
|
||||
return TransportProtocol.Response.newBuilder()
|
||||
.setStatusCode(404)
|
||||
.setPayload(ByteString.copyFromUtf8("Artist not found"));
|
||||
.setPayload(ByteString.copyFromUtf8("BitDepth not found"));
|
||||
}
|
||||
|
||||
BitDepthMessages.BitDepth bitDepthProto = BitDepthMapper.toProtobuf(bitDepthOpt.get());
|
||||
|
||||
Reference in New Issue
Block a user