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

Added stack trace to CosmosException, ResponseMessage.ErrorMessage includes full exception info. #1213

Merged
merged 27 commits into from
Feb 28, 2020

Commits on Feb 11, 2020

  1. Removed Error since it is not being used anywhere.

    Jake Willey committed Feb 11, 2020
    Configuration menu
    Copy the full SHA
    d4b9c9c View commit details
    Browse the repository at this point in the history
  2. Removed error since it's not being used

    Jake Willey committed Feb 11, 2020
    Configuration menu
    Copy the full SHA
    ef9a94b View commit details
    Browse the repository at this point in the history

Commits on Feb 13, 2020

  1. Refactored added new exception types

    Jake Willey committed Feb 13, 2020
    Configuration menu
    Copy the full SHA
    87b363c View commit details
    Browse the repository at this point in the history

Commits on Feb 14, 2020

  1. ResponseMessage.ErrorMessage will now return the full CosmosException…

    … string. Returning only the error message makes it not possible to debug.
    
    CosmosException now stores the stack trace. This fixes the issues where the error information is stored and later thrown causing the exception to show the incorrect error location.
    
    Created new CosmosExceptionFactory. This helps produce a CosmosException from the various types.
    Jake Willey committed Feb 14, 2020
    Configuration menu
    Copy the full SHA
    d1406ec View commit details
    Browse the repository at this point in the history
  2. Fixed build issue

    Jake Willey committed Feb 14, 2020
    Configuration menu
    Copy the full SHA
    eb37121 View commit details
    Browse the repository at this point in the history

Commits on Feb 18, 2020

  1. Renamed exception to add Cosmos to avoid confusion with Document name…

    … space versions.
    Jake Willey committed Feb 18, 2020
    Configuration menu
    Copy the full SHA
    e8422e3 View commit details
    Browse the repository at this point in the history

Commits on Feb 19, 2020

  1. Fixed exception handling and updated tests.

    Jake Willey committed Feb 19, 2020
    Configuration menu
    Copy the full SHA
    f783e54 View commit details
    Browse the repository at this point in the history

Commits on Feb 20, 2020

  1. Fixed tests

    Jake Willey committed Feb 20, 2020
    Configuration menu
    Copy the full SHA
    61905b1 View commit details
    Browse the repository at this point in the history
  2. Fixed ExceptionWithStackTraceException to use original exception stac…

    …k trace.
    Jake Willey committed Feb 20, 2020
    Configuration menu
    Copy the full SHA
    23a7a99 View commit details
    Browse the repository at this point in the history
  3. Merge remote-tracking branch 'origin/master' into users/jawilley/diag…

    …nostics/exception
    Jake Willey committed Feb 20, 2020
    Configuration menu
    Copy the full SHA
    73d5632 View commit details
    Browse the repository at this point in the history
  4. Fixed merge conflicts with latest

    Jake Willey committed Feb 20, 2020
    Configuration menu
    Copy the full SHA
    97fae63 View commit details
    Browse the repository at this point in the history
  5. Added diagnostic context to exceptions.

    Jake Willey committed Feb 20, 2020
    Configuration menu
    Copy the full SHA
    968fb97 View commit details
    Browse the repository at this point in the history
  6. Fixed test for retail build

    Jake Willey committed Feb 20, 2020
    Configuration menu
    Copy the full SHA
    1162ce1 View commit details
    Browse the repository at this point in the history

Commits on Feb 21, 2020

  1. Updated error message field in linq tests

    Jake Willey committed Feb 21, 2020
    Configuration menu
    Copy the full SHA
    32343f2 View commit details
    Browse the repository at this point in the history
  2. Converted the stack trace to a string. Removed creating the stack tra…

    …ce for exception less path.
    Jake Willey committed Feb 21, 2020
    Configuration menu
    Copy the full SHA
    064c1f5 View commit details
    Browse the repository at this point in the history
  3. Updated changelog

    Jake Willey committed Feb 21, 2020
    Configuration menu
    Copy the full SHA
    a41b615 View commit details
    Browse the repository at this point in the history

Commits on Feb 25, 2020

  1. Configuration menu
    Copy the full SHA
    0d2e970 View commit details
    Browse the repository at this point in the history
  2. Merged to latest

    Jake Willey committed Feb 25, 2020
    Configuration menu
    Copy the full SHA
    b5507e0 View commit details
    Browse the repository at this point in the history

Commits on Feb 26, 2020

  1. Adding transport client exception tests.

    Jake Willey committed Feb 26, 2020
    Configuration menu
    Copy the full SHA
    74beae5 View commit details
    Browse the repository at this point in the history

Commits on Feb 27, 2020

  1. Update Microsoft.Azure.Cosmos/src/Resource/CosmosExceptions/CosmosExc…

    …eptionFactory.cs
    
    Co-Authored-By: Matias Quaranta <ealsur@users.noreply.github.com>
    j82w and ealsur authored Feb 27, 2020
    Configuration menu
    Copy the full SHA
    300872b View commit details
    Browse the repository at this point in the history
  2. Update Microsoft.Azure.Cosmos/src/Resource/CosmosExceptions/CosmosExc…

    …eptionFactory.cs
    
    Co-Authored-By: Matias Quaranta <ealsur@users.noreply.github.com>
    j82w and ealsur authored Feb 27, 2020
    Configuration menu
    Copy the full SHA
    fce942a View commit details
    Browse the repository at this point in the history
  3. Removed diagnostics from Response.ErrorMessage

    Jake Willey committed Feb 27, 2020
    Configuration menu
    Copy the full SHA
    680cb2e View commit details
    Browse the repository at this point in the history
  4. Fixed unit test

    Jake Willey committed Feb 27, 2020
    Configuration menu
    Copy the full SHA
    c4e9490 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    46d9b1c View commit details
    Browse the repository at this point in the history
  6. Adding unit test for Error handling

    Jake Willey committed Feb 27, 2020
    Configuration menu
    Copy the full SHA
    4a72093 View commit details
    Browse the repository at this point in the history

Commits on Feb 28, 2020

  1. Fixed DocumentServiceResponse handling

    Jake Willey committed Feb 28, 2020
    Configuration menu
    Copy the full SHA
    cad13c7 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    553a761 View commit details
    Browse the repository at this point in the history