fix: show hostname on modrinth servers 503 (#4678)

* fix: show hostname on modrinth servers 503

* fix: lint
This commit is contained in:
Calum H.
2025-10-30 19:18:24 +00:00
committed by GitHub
parent bcc36362be
commit f31b74f7fd
3 changed files with 41 additions and 6 deletions

View File

@@ -9,6 +9,7 @@ export class ModrinthServerError extends Error {
public readonly originalError?: Error,
public readonly module?: string,
public readonly v1Error?: V1ErrorInfo,
public readonly responseData?: any,
) {
let errorMessage = message
let method = 'GET'