- 
          
- 
                Notifications
    You must be signed in to change notification settings 
- Fork 1.4k
fix: crash when checking for new dashboard release without internet connection #2015
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
          
     Merged
      
      
            mtrezza
  merged 1 commit into
  parse-community:alpha
from
damianstasik:handle-pjson-uncaught-exceptions
  
      
      
   
  Jan 23, 2022 
      
    
                
     Merged
            
            fix: crash when checking for new dashboard release without internet connection #2015
                    mtrezza
  merged 1 commit into
  parse-community:alpha
from
damianstasik:handle-pjson-uncaught-exceptions
  
      
      
   
  Jan 23, 2022 
              
            Conversation
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
    | Thanks for opening this pull request!
 | 
              
                    mtrezza
  
              
              approved these changes
              
                  
                    Jan 23, 2022 
                  
              
              
            
            
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good!
    
  parseplatformorg 
      pushed a commit
      that referenced
      this pull request
    
      Jan 23, 2022 
    
    
      
  
    
      
    
  
# [4.0.0-alpha.14](4.0.0-alpha.13...4.0.0-alpha.14) (2022-01-23) ### Bug Fixes * crash when checking for new dashboard release without internet connection ([#2015](#2015)) ([8c36e69](8c36e69))
| 🎉 This change has been released in version 4.0.0-alpha.14 | 
    
  parseplatformorg 
      pushed a commit
      that referenced
      this pull request
    
      Feb 6, 2022 
    
    
      
  
    
      
    
  
# [4.0.0-beta.3](4.0.0-beta.2...4.0.0-beta.3) (2022-02-06) ### Bug Fixes * bump follow-redirects from 1.14.4 to 1.14.7 ([#1997](#1997)) ([4ca2e97](4ca2e97)) * bump markdown-it from 12.3.0 to 12.3.2 ([#1996](#1996)) ([245c22e](245c22e)) * bump marked from 0.8.2 to 4.0.10 ([#2001](#2001)) ([ae4cc90](ae4cc90)) * bump nanoid from 3.1.28 to 3.2.0 ([#2008](#2008)) ([6cfe9ca](6cfe9ca)) * calendar widget layout partly hides last days of a month ([#1990](#1990)) ([5bd86dd](5bd86dd)) * cannot save nullish values for required fields ([#2003](#2003)) ([e1a5497](e1a5497)) * crash when checking for new dashboard release without internet connection ([#2015](#2015)) ([8c36e69](8c36e69)) * preserve column sorting preferences in data browser ([#2016](#2016)) ([c2e6557](c2e6557)) * upgrade parse from 3.4.0 to 3.4.1 ([#2011](#2011)) ([68cf9e2](68cf9e2)) * various UI bugs (e.g. filter data browser, switch app, upload file) ([#2010](#2010)) ([a508a58](a508a58))
| 🎉 This change has been released in version 4.0.0-beta.3 | 
    
  parseplatformorg 
      pushed a commit
      that referenced
      this pull request
    
      Mar 3, 2022 
    
    
      
  
    
      
    
  
## [4.0.1](4.0.0...4.0.1) (2022-03-03) ### Bug Fixes * bump follow-redirects from 1.14.4 to 1.14.7 ([#1997](#1997)) ([4ca2e97](4ca2e97)) * bump markdown-it from 12.3.0 to 12.3.2 ([#1996](#1996)) ([245c22e](245c22e)) * bump marked from 0.8.2 to 4.0.10 ([#2001](#2001)) ([ae4cc90](ae4cc90)) * bump nanoid from 3.1.28 to 3.2.0 ([#2008](#2008)) ([6cfe9ca](6cfe9ca)) * calendar widget layout partly hides last days of a month ([#1990](#1990)) ([5bd86dd](5bd86dd)) * cannot save nullish values for required fields ([#2003](#2003)) ([e1a5497](e1a5497)) * crash when checking for new dashboard release without internet connection ([#2015](#2015)) ([8c36e69](8c36e69)) * preserve column sorting preferences in data browser ([#2016](#2016)) ([c2e6557](c2e6557)) * upgrade parse from 3.4.0 to 3.4.1 ([#2011](#2011)) ([68cf9e2](68cf9e2)) * various UI bugs (e.g. filter data browser, switch app, upload file) ([#2010](#2010)) ([a508a58](a508a58))
| 🎉 This change has been released in version 4.0.1 | 
    
  beiguancyc 
      pushed a commit
        to beiguancyc/parse-dashboard
      that referenced
      this pull request
    
      Mar 4, 2022 
    
    
      
  
    
      
    
  
* source: (43 commits) chore(release): 4.0.1 [skip ci] ci: release commit chore(release): 4.0.0-beta.3 [skip ci] ci: release commit refactor: upgrade prismjs from 1.25.0 to 1.26.0 (parse-community#2019) chore(release): 4.0.0-alpha.15 [skip ci] fix: preserve column sorting preferences in data browser (parse-community#2016) refactor: upgrade prop-types from 15.8.0 to 15.8.1 (parse-community#2018) refactor: upgrade otpauth from 7.0.8 to 7.0.9 (parse-community#2017) chore(release): 4.0.0-alpha.14 [skip ci] fix: crash when checking for new dashboard release without internet connection (parse-community#2015) chore(release): 4.0.0-alpha.13 [skip ci] fix: calendar widget layout partly hides last days of a month (parse-community#1990) refactor: change example config Parse Server port from 1338 to 1337 (parse-community#2012) chore(release): 4.0.0-alpha.12 [skip ci] fix: upgrade parse from 3.4.0 to 3.4.1 (parse-community#2011) chore(release): 4.0.0-alpha.11 [skip ci] fix: various UI bugs (e.g. filter data browser, switch app, upload file) (parse-community#2010) chore(release): 4.0.0-alpha.10 [skip ci] fix: bump nanoid from 3.1.28 to 3.2.0 (parse-community#2008) ... # Conflicts: # package-lock.json
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
      Labels
      
    state:released
  Released as stable version 
  
    state:released-alpha
  Released as alpha version 
  
    state:released-beta
  Released as beta version 
  Add this suggestion to a batch that can be applied as a single commit.
  This suggestion is invalid because no changes were made to the code.
  Suggestions cannot be applied while the pull request is closed.
  Suggestions cannot be applied while viewing a subset of changes.
  Only one suggestion per line can be applied in a batch.
  Add this suggestion to a batch that can be applied as a single commit.
  Applying suggestions on deleted lines is not supported.
  You must change the existing code in this line in order to create a valid suggestion.
  Outdated suggestions cannot be applied.
  This suggestion has been applied or marked resolved.
  Suggestions cannot be applied from pending reviews.
  Suggestions cannot be applied on multi-line comments.
  Suggestions cannot be applied while the pull request is queued to merge.
  Suggestion cannot be applied right now. Please check back later.
  
    
  
    
New Pull Request Checklist
Issue Description
This PR add a
catchblock to a promise that fetches latest version ofpackage.jsonto see if there are any updates available. This should handle not only unavailable Internet connection, but also other unexpected issues (unavailable npm registry and etc.)Related issue: #2009
Approach
TODOs before merging