mirror of
https://github.com/desktop/desktop
synced 2024-08-24 18:57:33 +00:00
Merge pull request #13069 from desktop/less-non-fatal-errors
Remove `moveApplication` and `fastForwardBranches` non-fatal errors
This commit is contained in:
commit
7240cfbcba
|
@ -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)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -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)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue