From 0b55e108d795afd3bb9ab71f5d95fa7d79370974 Mon Sep 17 00:00:00 2001 From: Sebastian Gerske Date: Fri, 16 Nov 2018 14:25:55 +0100 Subject: [PATCH] changed error messages --- src/aquarius/Aquarius.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/aquarius/Aquarius.ts b/src/aquarius/Aquarius.ts index 26ff1e6..5714ec5 100644 --- a/src/aquarius/Aquarius.ts +++ b/src/aquarius/Aquarius.ts @@ -98,7 +98,7 @@ export default class Aquarius { if (response.ok) { return response.json() } - Logger.error("storeDDO failed:", response.status, response.statusText) + Logger.error("storeDDO failed:", response.status, response.statusText, ddo) return null as DDO }) .then((response: DDO) => { @@ -120,7 +120,7 @@ export default class Aquarius { if (response.ok) { return response.json() } - Logger.log("retrieveDDO failed:", response.status, response.statusText) + Logger.log("retrieveDDO failed:", response.status, response.statusText, did) return null as DDO }) .then((response: DDO) => {