summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIm-Beast <franik.mateusz@gmail.com>2024-12-11 08:57:57 +0100
committerIm-Beast <franik.mateusz@gmail.com>2024-12-11 08:57:57 +0100
commit82523161e81d2ee50b5822ad9cdfb4df176a5ca7 (patch)
treea1ba305b6c00dfa062353636efc4fa5ed8e91673
parent34ce0cd38b8ae461e039a46d9dc340058309aa07 (diff)
tests: print why retrieving tags failed
-rwxr-xr-xtests/utils.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/utils.ts b/tests/utils.ts
index 0326d11..ebf4e8b 100755
--- a/tests/utils.ts
+++ b/tests/utils.ts
@@ -151,7 +151,7 @@ export async function getMoneroCTags(): Promise<string[]> {
);
if (!response.ok) {
- throw new Error("Could not receive monero_c release tags");
+ throw new Error(`Could not receive monero_c release tags: ${await response.text()}`);
}
const json = await response.json() as { tag_name: string }[];