Skip to content

Callbacks and proper error handling #13

@llaakso

Description

@llaakso

This module seems handy but it crashes in node.js environment:

node_modules/exif-parser/lib/jpeg.js:12
throw new Error('Invalid JPEG section offset');
^

Error: Invalid JPEG section offset
at Object.module.exports.parseSections (/home/xu/node_modules/exif-parser/lib/jpeg.js:12:11)

In node you would avoid this by using callbacks to indicate error.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions