Skip to content

Commit

Permalink
修复缺失的占位符
Browse files Browse the repository at this point in the history
  • Loading branch information
Ghost-chu committed Dec 2, 2024
1 parent e2bc1ba commit 889a7b9
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -137,11 +137,11 @@ private void handlePushProviderTest(Context ctx) {
if (testResult) {
ctx.json(new StdResp(true, tl(locale(ctx), Lang.PUSH_PROVIDER_API_TEST_OK), null));
} else {
ctx.json(new StdResp(false, tl(locale(ctx), Lang.PUSH_PROVIDER_TEST_FAILED), null));
ctx.json(new StdResp(false, tl(locale(ctx), Lang.PUSH_PROVIDER_TEST_FAILED, name, pushProvider.getConfigType()), null));
}
} catch (Exception e) {
log.error("Validate PushProvider failed", e);
ctx.json(new StdResp(false,e.getMessage(), null));
ctx.json(new StdResp(false, e.getMessage(), null));
}
}

Expand Down

0 comments on commit 889a7b9

Please sign in to comment.