Compare commits
No commits in common. "93c458d85698aafb0eb1befa8c34920f93462adb" and "2d77358d50e085e285550ef93e378948e57d0375" have entirely different histories.
93c458d856
...
2d77358d50
|
|
@ -41,8 +41,7 @@ public class CreateBitDepthHandler implements ActionHandler {
|
|||
.setPayload(ByteString.copyFromUtf8("Validation error: " + e.getMessage()));
|
||||
|
||||
} catch (Exception e) {
|
||||
logger.error("Error creating bit-depth", e);
|
||||
return TransportProtocol.Response.newBuilder()
|
||||
logger.error("Error creating artist", e);
|
||||
return TransportProtocol.Response.newBuilder()
|
||||
.setStatusCode(500)
|
||||
.setPayload(ByteString.copyFromUtf8("Error: " + e.getMessage()));
|
||||
|
|
|
|||
|
|
@ -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("BitDepth not found"));
|
||||
.setPayload(ByteString.copyFromUtf8("Artist not found"));
|
||||
}
|
||||
|
||||
BitDepthMessages.BitDepth bitDepthProto = BitDepthMapper.toProtobuf(bitDepthOpt.get());
|
||||
|
|
|
|||
Loading…
Reference in New Issue