Skip to content

Commit

Permalink
Player permissions issue
Browse files Browse the repository at this point in the history
  • Loading branch information
MrPrimate committed Jan 18, 2024
1 parent 61136a5 commit 8302d29
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# NEXT UP

- Better handling of class identifiers for scaling values if they have non-alpha characters.
- Prevent error when updating character as a player without filesystem browse permissions.

# 3.7.14

Expand Down
7 changes: 6 additions & 1 deletion src/parser/race/DDBRace.js
Original file line number Diff line number Diff line change
Expand Up @@ -421,7 +421,12 @@ export default class DDBRace {
}

async build() {
await this._generateRaceImage();
try {
await this._generateRaceImage();
} catch (e) {
logger.error("Error generating race image, probably because you don't have permission to browse the host file system.", { e });
}


this.race.racialTraits.forEach((t) => {
const trait = t.definition;
Expand Down

0 comments on commit 8302d29

Please sign in to comment.