This commit is contained in:
parent
6007f340bf
commit
597ac11c4d
@ -36,9 +36,9 @@ export default {
|
||||
const message =
|
||||
error.message.includes('orthogonal') ||
|
||||
error.message.includes('oblique')
|
||||
? 'The segmentation has been detected as not planar,\
|
||||
If you really think it is planar,\
|
||||
please adjust the tolerance in the segmentation panel settings (at your own peril!)'
|
||||
? 'The segmentation has been detected as non coplanar,\
|
||||
If you really think it is coplanar,\
|
||||
please adjust the tolerance in the segmentation panel settings (at your own peril!)'
|
||||
: error.message;
|
||||
LoggerService.error({ error, message });
|
||||
UINotificationService.show({
|
||||
|
||||
@ -122,9 +122,9 @@ async function loadAndCacheDerivedDisplaySets(
|
||||
const message =
|
||||
error.message.includes('orthogonal') ||
|
||||
error.message.includes('oblique')
|
||||
? 'The segmentation has been detected as not planar,\
|
||||
If you really think it is planar,\
|
||||
please adjust the tolerance in the segmentation panel settings (at your own peril!)'
|
||||
? 'The segmentation has been detected as non coplanar,\
|
||||
If you really think it is coplanar,\
|
||||
please adjust the tolerance in the segmentation panel settings (at your own peril!)'
|
||||
: error.message;
|
||||
|
||||
logger.error({ error, message });
|
||||
|
||||
@ -23,9 +23,9 @@ const mapDispatchToProps = (dispatch, ownProps) => {
|
||||
const message =
|
||||
error.message.includes('orthogonal') ||
|
||||
error.message.includes('oblique')
|
||||
? 'The segmentation has been detected as not planar,\
|
||||
If you really think it is planar,\
|
||||
please adjust the tolerance in the segmentation panel settings (at your own peril!)'
|
||||
? 'The segmentation has been detected as non coplanar,\
|
||||
If you really think it is coplanar,\
|
||||
please adjust the tolerance in the segmentation panel settings (at your own peril!)'
|
||||
: error.message;
|
||||
|
||||
LoggerService.error({ error, message });
|
||||
|
||||
@ -148,9 +148,9 @@ class ViewerMain extends Component {
|
||||
const message =
|
||||
error.message.includes('orthogonal') ||
|
||||
error.message.includes('oblique')
|
||||
? 'The segmentation has been detected as not planar,\
|
||||
If you really think it is planar,\
|
||||
please adjust the tolerance in the segmentation panel settings (at your own peril!)'
|
||||
? 'The segmentation has been detected as non coplanar,\
|
||||
If you really think it is coplanar,\
|
||||
please adjust the tolerance in the segmentation panel settings (at your own peril!)'
|
||||
: error.message;
|
||||
LoggerService.error({ error, message });
|
||||
UINotificationService.show({
|
||||
|
||||
Loading…
Reference in New Issue
Block a user