mirror of
https://github.com/desktop/desktop
synced 2024-09-12 21:01:16 +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)
|
await fastForwardBranches(repository, eligibleBranches)
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
log.error('Branch fast-forwarding failed', e)
|
log.error('Branch fast-forwarding failed', e)
|
||||||
sendNonFatalException('fastForwardBranches', e)
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
import * as React from 'react'
|
import * as React from 'react'
|
||||||
import { sendNonFatalException } from '../lib/helpers/non-fatal-exception'
|
|
||||||
import {
|
import {
|
||||||
Dialog,
|
Dialog,
|
||||||
DialogContent,
|
DialogContent,
|
||||||
|
@ -104,7 +103,6 @@ export class MoveToApplicationsFolder extends React.Component<
|
||||||
try {
|
try {
|
||||||
this.props.dispatcher.moveToApplicationsFolder()
|
this.props.dispatcher.moveToApplicationsFolder()
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
sendNonFatalException('moveApplication', error)
|
|
||||||
this.props.dispatcher.postError(error)
|
this.props.dispatcher.postError(error)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue