You've already forked AstralRinth
forked from didirus/AstralRinth
Fix forge 1.15.2->1.16.5, Fabric 0.16.0+, and migration issues with Forge (#2232)
* Fix Forge versions, newer fabric, migration breakage * lint * fix lint
This commit is contained in:
@@ -8,14 +8,14 @@ export const useError = defineStore('errorsStore', {
|
||||
setErrorModal(ref) {
|
||||
this.errorModal = ref
|
||||
},
|
||||
showError(error, closable = true, source = null) {
|
||||
this.errorModal.show(error, closable, source)
|
||||
showError(error, context, closable = true, source = null) {
|
||||
this.errorModal.show(error, context, closable, source)
|
||||
},
|
||||
},
|
||||
})
|
||||
|
||||
export const handleSevereError = (err) => {
|
||||
export const handleSevereError = (err, context) => {
|
||||
const error = useError()
|
||||
error.showError(err)
|
||||
error.showError(err, context)
|
||||
console.error(err)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user