Skip to content

Bug: Datatable call has no error handling #69

@redanthrax

Description

@redanthrax

Describe the bug
The $.datatable call doesn't have a way of handling errors.

To Reproduce
Steps to reproduce the behavior:

  1. Go to a datatable that may produce an error.
  2. Check the console/network info for a 404 or 500
  3. Datatable will not load when the API has produced an error.

Expected behavior
Notify the user that an error has occurred from the API.

Desktop (please complete the following information):

  • OS: Windows
  • Browser Brave

This can be handled a number of ways. I personally like using Toastr for something like this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions