Commit f387a164 authored by Clement Ho's avatar Clement Ho

Encapsulate service desk error in Error()

parent 15c98185
......@@ -16,7 +16,7 @@ class ServiceDeskStore {
}
setFetchError(value) {
this.state.fetchError = value;
this.state.fetchError = new Error(value);
}
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment