Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
N
noVNC
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
rasky
noVNC
Commits
14355cb2
Commit
14355cb2
authored
Jun 04, 2010
by
Joel Martin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Give better exception feedback in message handler.
parent
30298582
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletion
+7
-1
vnc.js
vnc.js
+7
-1
No files found.
vnc.js
View file @
14355cb2
...
@@ -956,7 +956,13 @@ recv_message: function(e) {
...
@@ -956,7 +956,13 @@ recv_message: function(e) {
RFB
.
handle_message
();
RFB
.
handle_message
();
}
}
}
catch
(
exc
)
{
}
catch
(
exc
)
{
console
.
log
(
"recv_message, caught exception: "
+
exc
);
if
(
typeof
exc
.
stack
!==
'undefined'
)
{
console
.
log
(
"recv_message, caught exception: "
+
exc
.
stack
);
}
else
if
(
typeof
exc
.
description
!==
'undefined'
)
{
console
.
log
(
"recv_message, caught exception: "
+
exc
.
description
);
}
else
{
console
.
log
(
"recv_message, caught exception:"
+
exc
);
}
if
(
typeof
exc
.
name
!==
'undefined'
)
{
if
(
typeof
exc
.
name
!==
'undefined'
)
{
RFB
.
updateState
(
'failed'
,
exc
.
name
+
": "
+
exc
.
message
);
RFB
.
updateState
(
'failed'
,
exc
.
name
+
": "
+
exc
.
message
);
}
else
{
}
else
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment