You've already forked AstralRinth
forked from didirus/AstralRinth
feat: reimplement error handling improvements w/o polling (#3942)
* Reapply "fix: error handling improvements (#3797)"
This reverts commit e0cde2d6ff.
* fix: polling issues
* fix: circuit breaker logic for spam
* fix: remove polling & ping test node instead
* fix: remove broken url from debugging
* fix: show error information display if node access fails in fs module
This commit is contained in:
@@ -54,6 +54,6 @@ export class ModrinthServerError extends Error {
|
||||
}
|
||||
|
||||
super(errorMessage)
|
||||
this.name = 'PyroServersFetchError'
|
||||
this.name = 'ModrinthServersFetchError'
|
||||
}
|
||||
}
|
||||
|
||||
@@ -5,6 +5,6 @@ export class ModrinthServersFetchError extends Error {
|
||||
public originalError?: Error,
|
||||
) {
|
||||
super(message)
|
||||
this.name = 'PyroFetchError'
|
||||
this.name = 'ModrinthFetchError'
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user