@afoures/auto-release 0.2.5 → 0.2.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -17,7 +17,11 @@ function gitlab(options) {
17
17
  });
18
18
  if (!response.ok) {
19
19
  const error_text = await response.text();
20
- throw new Error(`GitLab API error: ${options$1.method} "${url}" -> ${response.status} ${response.statusText}\n${error_text}`);
20
+ throw new Error(`GitLab API error:
21
+ ${options$1.method} "${url}"
22
+ ${options$1.body ? `\n${options$1.body}` : ""}
23
+ ${response.status} ${response.statusText}
24
+ ${error_text}`);
21
25
  }
22
26
  if (response.status === 204) return null;
23
27
  return await response.json();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@afoures/auto-release",
3
- "version": "0.2.5",
3
+ "version": "0.2.6",
4
4
  "description": "A file based release management tool for monorepos",
5
5
  "homepage": "https://github.com/afoures/auto-release#readme",
6
6
  "bugs": {