Skip to content

Commit b0da592

Browse files
committed
fix: Promise rejection is not caught by try
1 parent 2434216 commit b0da592

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/commands/wp-ssh.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@ export class WPCliCommandOverSSH {
252252
const api = API();
253253

254254
try {
255-
return api.mutate< TriggerWPCLICommandMutationResponse >( {
255+
return await api.mutate< TriggerWPCLICommandMutationResponse >( {
256256
mutation: TRIGGER_WP_CLI_COMMAND_MUTATION,
257257
variables: {
258258
input: {

0 commit comments

Comments
 (0)