Merge pull request #13069 from desktop/less-non-fatal-errors

Remove `moveApplication` and `fastForwardBranches` non-fatal errors
This commit is contained in:
Sergio Padrino 2021-10-06 12:18:59 +02:00 committed by GitHub
commit 7240cfbcba
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 0 additions and 3 deletions

View file

@ -4151,7 +4151,6 @@ export class AppStore extends TypedBaseStore<IAppState> {
await fastForwardBranches(repository, eligibleBranches)
} catch (e) {
log.error('Branch fast-forwarding failed', e)
sendNonFatalException('fastForwardBranches', e)
}
}

View file

@ -1,5 +1,4 @@
import * as React from 'react'
import { sendNonFatalException } from '../lib/helpers/non-fatal-exception'
import {
Dialog,
DialogContent,
@ -104,7 +103,6 @@ export class MoveToApplicationsFolder extends React.Component<
try {
this.props.dispatcher.moveToApplicationsFolder()
} catch (error) {
sendNonFatalException('moveApplication', error)
this.props.dispatcher.postError(error)
}
}