Skip to content

Commit 749aa98

Browse files
committed
调整 amr转 mp3 失败时的状态码
1 parent 43404b8 commit 749aa98

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/cn/wildfirechat/app/AudioController.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ public ResponseEntity<InputStreamResource> get() {
7474
} catch (FileNotFoundException e) {
7575
e.printStackTrace();
7676
}
77-
return ResponseEntity.status(404).build();
77+
return ResponseEntity.status(500).build();
7878
}
7979
});
8080
}

0 commit comments

Comments
 (0)