• Jan Matthiesen's avatar
    Handles non-encodable JSON responses · 601e56d1
    Jan Matthiesen authored
    Adds a try-catch block to handle potential exceptions
    when decoding JSON responses.
    
    This ensures that if a string cannot be decoded as JSON,
    a more informative exception is thrown, including the
    offending string in the error message.
    601e56d1