Skip to content

Commit

Permalink
Log which file caused zip analysis failure, upgrade claritas.
Browse files Browse the repository at this point in the history
  • Loading branch information
dscalzi committed Feb 4, 2023
1 parent 530d475 commit f9041a6
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
Binary file modified libraries/java/Claritas.jar
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,10 @@ export class ForgeModStructure113 extends BaseForgeModStructure {
storeEntries: true
})

zip.on('error', err => reject(err))
zip.on('error', err => {
this.logger.error(`Failure while processing ${path}`)
reject(err)
})
zip.on('ready', () => {
try {
const res = this.processZip(zip, name, path)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,10 @@ export class ForgeModStructure17 extends BaseForgeModStructure {
storeEntries: true
})

zip.on('error', err => reject(err))
zip.on('error', err => {
this.logger.error(`Failure while processing ${path}`)
reject(err)
})
zip.on('ready', () => {
try {
const res = this.processZip(zip, name, path)
Expand Down

0 comments on commit f9041a6

Please sign in to comment.