diff options
| author | adamhrv <adam@ahprojects.com> | 2019-02-28 18:50:22 +0100 |
|---|---|---|
| committer | adamhrv <adam@ahprojects.com> | 2019-02-28 18:50:22 +0100 |
| commit | 6c631c88c9ecc2683b95534cfd15e82650c1b501 (patch) | |
| tree | 786d993a57c8c4d6fba26cad5fbda056c346c418 /client/tables.js | |
| parent | 9e3bb35630349847bc005389c408f3072e0e22db (diff) | |
| parent | e845766d970f4afefc2fc47367c3478413f98ff2 (diff) | |
Merge branch 'master' of github.com:adamhrv/megapixels_dev
Diffstat (limited to 'client/tables.js')
| -rw-r--r-- | client/tables.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/client/tables.js b/client/tables.js index 70ab5971..3fadb797 100644 --- a/client/tables.js +++ b/client/tables.js @@ -65,11 +65,13 @@ export default function append(el, payload) { .then(r => r.text()) .then(text => { try { + console.log(text) const data = csv.toJSON(text, { headers: { included: true } }) // console.log(data) table.setData(data) el.classList.add('loaded') } catch (e) { + console.error("error making json:", payload.url) console.error(e) // console.log(text) |
