From 2fb78214fc664faf31ca2f1d90ace1abf4abce0b Mon Sep 17 00:00:00 2001 From: Mikael Finstad Date: Wed, 4 Dec 2024 19:18:41 +0800 Subject: [PATCH] Update e2e.mts --- script/e2e.mts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/script/e2e.mts b/script/e2e.mts index 8b9f1a5b..c09d47bb 100644 --- a/script/e2e.mts +++ b/script/e2e.mts @@ -62,7 +62,11 @@ try { console.log('Sending quit command'); - await client.post('api/action/quit').text(); + try { + await client.post('api/action/quit').text(); + } catch (err) { + console.warn('Quit command failed', err); + } } finally { // ps.cancel(); }