Skip to content
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.

Commit

Permalink
fix preview detector error message (#108)
Browse files Browse the repository at this point in the history
* fix preview detector error message

* fix start detector description
  • Loading branch information
ylwu-amzn authored May 7, 2020
1 parent 02c1eca commit 2a812aa
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -56,10 +56,10 @@ export function SaveFeaturesConfirmModal(props: SaveFeaturesConfirmModalProps) {
<EuiFlexItem grow={false}>
<EuiText>
<p>
The detector is currently stopped. To receive accurate and real-time
anomalies, the detector needs to collect sufficient data to
include your latest change. The earlier the detector starts running,
the sooner the anomalies will be available.
The detector is currently stopped. To find accurate and real-time
anomalies, the detector needs to collect sufficient data to include
your latest change. The earlier you start the detector, the sooner
the anomalies will be available.
</p>
</EuiText>
</EuiFlexItem>
Expand Down
2 changes: 1 addition & 1 deletion server/routes/ad.ts
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ const previewDetector = async (
};
} catch (err) {
console.log('Anomaly detector - previewDetector', err);
return { ok: false, error: err.message };
return { ok: false, error: err };
}
};

Expand Down

0 comments on commit 2a812aa

Please sign in to comment.