Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error on undefined contentType #7

Open
jneidel opened this issue Jun 17, 2024 · 0 comments
Open

Error on undefined contentType #7

jneidel opened this issue Jun 17, 2024 · 0 comments

Comments

@jneidel
Copy link
Owner

jneidel commented Jun 17, 2024

/home/jneidel/scripts/cron/signal-to-inbox:87
      logError( `FileExt is empty and contentType of ${contentType} is not being matched for attachement ${id}` );
                                                       ^

ReferenceError: contentType is not defined
    at returnFileExtForContentType (/home/jneidel/scripts/cron/signal-to-inbox:87:56)
    at writeAttachment (/home/jneidel/scripts/cron/signal-to-inbox:105:15)
    at /home/jneidel/scripts/cron/signal-to-inbox:155:52
    at Array.forEach (<anonymous>)
    at /home/jneidel/scripts/cron/signal-to-inbox:155:27
    at Array.forEach (<anonymous>)
    at /home/jneidel/scripts/cron/signal-to-inbox:153:11
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant