Skip to content

Don't throw object, throw Error #46

@cancan101

Description

@cancan101

Right now we have:

            catch(e) {
                var ex = {
                    exception: e,
                    dataSet: dataSet
                };
                throw ex;
            }

which leave this in the console:

dicomParser.js:157 Uncaught [object Object]

see: http://eslint.org/docs/rules/no-throw-literal

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions