Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
opcua-asyncio
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Nikola Balog
opcua-asyncio
Commits
aea91c5b
Commit
aea91c5b
authored
Jun 12, 2016
by
olivier R-D
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
do not stop client for protocol error, but try again
parent
5b146814
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
opcua/client/ua_client.py
opcua/client/ua_client.py
+3
-0
No files found.
opcua/client/ua_client.py
View file @
aea91c5b
...
...
@@ -10,6 +10,7 @@ from functools import partial
from
opcua
import
ua
from
opcua.common
import
utils
from
opcua.common.uaerrors
import
UaError
class
UASocketClient
(
object
):
...
...
@@ -94,6 +95,8 @@ class UASocketClient(object):
except
ua
.
utils
.
SocketClosedException
:
self
.
logger
.
info
(
"Socket has closed connection"
)
break
except
UaError
:
self
.
logger
.
exception
(
"Protocol Error"
)
self
.
logger
.
info
(
"Thread ended"
)
def
_receive
(
self
):
...
...
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