Eccleria / ewibot

Discord bot for La Quête d'Ewilan server.
3 stars 0 forks source link

octogonalLog - parsing issue #323

Closed Eccleria closed 4 months ago

Eccleria commented 5 months ago
/home/ewibot/ewibot/node_modules/@sapphire/shapeshift/dist/index.js:473
    return errors.length === 0 ? Result.ok(transformed) : Result.err(new CombinedPropertyError(errors));
                                                                     ^

CombinedPropertyError: Received one or more errors
    at ArrayValidator.handle (/home/ewibot/ewibot/node_modules/@sapphire/shapeshift/dist/index.js:473:70)
    at ArrayValidator.parse (/home/ewibot/ewibot/node_modules/@sapphire/shapeshift/dist/index.js:212:88)
    at EmbedBuilder.addFields (/home/ewibot/ewibot/node_modules/@discordjs/builders/dist/index.js:222:31)
    at octagonalLog (file:///home/ewibot/ewibot/src/admin/utils.js:608:9)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
  errors: [
    [
      2,
      CombinedPropertyError: Received one or more errors
          at ObjectValidator.handleIgnoreStrategy (/home/ewibot/ewibot/node_modules/@sapphire/shapeshift/dist/index.js:1251:72)
          at ObjectValidator.handleStrategy (/home/ewibot/ewibot/node_modules/@sapphire/shapeshift/dist/index.js:1121:47)
          at ObjectValidator.handle (/home/ewibot/ewibot/node_modules/@sapphire/shapeshift/dist/index.js:1221:17)
          at ObjectValidator.run (/home/ewibot/ewibot/node_modules/@sapphire/shapeshift/dist/index.js:198:23)
          at ArrayValidator.handle (/home/ewibot/ewibot/node_modules/@sapphire/shapeshift/dist/index.js:467:37)
          at ArrayValidator.parse (/home/ewibot/ewibot/node_modules/@sapphire/shapeshift/dist/index.js:212:88)
          at EmbedBuilder.addFields (/home/ewibot/ewibot/node_modules/@discordjs/builders/dist/index.js:222:31)
          at octagonalLog (file:///home/ewibot/ewibot/src/admin/utils.js:608:9)
          at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
        errors: [ [ 'value', [ExpectedConstraintError] ] ]
      }
    ]
  ]
}