Changeset fc63b30 for src/python


Ignore:
Timestamp:
Aug 28, 2017, 7:14:23 PM (9 years ago)
Author:
Joachim Langenbach <joachim.langenbach@…>
Branches:
0.5, debian/bullseye, debian/jessie, master
Children:
008bce9
Parents:
86442cb (diff), 193006a (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge branch 'master' of ​https://svn.falaba.de/gnuboat

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/python/gnuboat/daemon/rrdhandler.py

    r86442cb rfc63b30  
    1919import rrdtool
    2020import os
     21import traceback
    2122
    2223def rrd_create_database(database_file, logperiod, start_time = 'N'):
    … …  
    5253
    5354def rrd_update(rrdfile, value_string):
    54     rrdtool.update(rrdfile, value_string)
     55    try:
     56        rrdtool.update(rrdfile, value_string)
     57    except:
     58        print "Failed to update rrd database %s with values\n  %s" % (rrdfile, value_string)
     59        print(traceback.format_exc())
    5560
    5661def _rows(duration, resolution, step):
Note: See TracChangeset for help on using the changeset viewer.