Skip to content

Commit 8cd3ab7

Browse files
committed
Update 408 error message and bump version to 0.2.2
1 parent 8a6534d commit 8cd3ab7

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

gui/src/actionCreators/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ export async function fetchWithTimeout(dispatch, resource, options={}, timeout=1
150150
} catch(error) {
151151
// If AbortController is aborted, then AbortError exception is raised due to time out.
152152
if (error.name === "AbortError"){
153-
dispatch(receiveError(`HTTP request for resource ${resource} timed out. Check your internet connection.`,408))
153+
dispatch(receiveError(`HTTP Error 408 - Request Timeout. Check your internet connection and, verify that the server is running.`,408))
154154
} else {
155155
dispatch(receiveError("Communication with server failed.",404))
156156
}
@@ -159,7 +159,7 @@ export async function fetchWithTimeout(dispatch, resource, options={}, timeout=1
159159

160160

161161
export function fetchServerStatus() {
162-
return async function (dispatch, getState) {
162+
return async function (dispatch, getState) {
163163

164164
dispatch(requestServerStatus());
165165
const response = await fetchWithTimeout(dispatch, './get_status', {}, 10000)

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ def run(self):
5151

5252
setuptools.setup(
5353
name="matlab-proxy",
54-
version="0.2.1",
54+
version="0.2.2",
5555
url=config["doc_url"],
5656
author="The MathWorks, Inc.",
5757
author_email="cloud@mathworks.com",

0 commit comments

Comments
 (0)