Add more trycatches add more logs. Not sure where failure is.
This commit is contained in:
parent
b7e2e912f4
commit
da735779b4
|
@ -1,5 +1,5 @@
|
||||||
{
|
{
|
||||||
"version": "1.8.97",
|
"version": "1.8.98",
|
||||||
"ext_port": 1111,
|
"ext_port": 1111,
|
||||||
"profiles": {
|
"profiles": {
|
||||||
"mcopy": {
|
"mcopy": {
|
||||||
|
|
|
@ -74,15 +74,15 @@ class Devices {
|
||||||
if (typeof arg !== 'undefined' && typeof arg.timing !== 'undefined') {
|
if (typeof arg !== 'undefined' && typeof arg.timing !== 'undefined') {
|
||||||
timing.restore(arg.timing);
|
timing.restore(arg.timing);
|
||||||
}
|
}
|
||||||
if (arg.projector_second) {
|
if (typeof arg !== 'undefined' && typeof arg.projector_second !== 'undefined') {
|
||||||
//add second row of projector pads to grid
|
//add second row of projector pads to grid
|
||||||
proj.second.enable();
|
proj.second.enable();
|
||||||
}
|
}
|
||||||
if (arg.camera_second) {
|
if (typeof arg !== 'undefined' && typeof arg.camera_second !== 'undefined') {
|
||||||
//add second row of camera pads to grid
|
//add second row of camera pads to grid
|
||||||
cam.second.enable();
|
cam.second.enable();
|
||||||
}
|
}
|
||||||
if (arg.capper) {
|
if (typeof arg !== 'undefined' && typeof arg.capper !== 'undefined') {
|
||||||
//add capper features to grid
|
//add capper features to grid
|
||||||
capper.enable();
|
capper.enable();
|
||||||
}
|
}
|
||||||
|
@ -91,6 +91,7 @@ class Devices {
|
||||||
grid.state(0);
|
grid.state(0);
|
||||||
grid.state(1);
|
grid.state(1);
|
||||||
seq.stats();
|
seq.stats();
|
||||||
|
log.info('Got past stats');
|
||||||
//@ts-ignore
|
//@ts-ignore
|
||||||
yield delay(1000);
|
yield delay(1000);
|
||||||
try {
|
try {
|
||||||
|
|
File diff suppressed because one or more lines are too long
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "mcopy-app",
|
"name": "mcopy-app",
|
||||||
"version": "1.8.97",
|
"version": "1.8.98",
|
||||||
"lockfileVersion": 2,
|
"lockfileVersion": 2,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "mcopy-app",
|
"name": "mcopy-app",
|
||||||
"version": "1.8.97",
|
"version": "1.8.98",
|
||||||
"description": "GUI for the mcopy small gauge film optical printer platform",
|
"description": "GUI for the mcopy small gauge film optical printer platform",
|
||||||
"main": "main.js",
|
"main": "main.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
|
|
@ -74,15 +74,15 @@ class Devices {
|
||||||
timing.restore(arg.timing);
|
timing.restore(arg.timing);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (arg.projector_second) {
|
if (typeof arg !== 'undefined' && typeof arg.projector_second !== 'undefined') {
|
||||||
//add second row of projector pads to grid
|
//add second row of projector pads to grid
|
||||||
proj.second.enable();
|
proj.second.enable();
|
||||||
}
|
}
|
||||||
if (arg.camera_second) {
|
if (typeof arg !== 'undefined' && typeof arg.camera_second !== 'undefined') {
|
||||||
//add second row of camera pads to grid
|
//add second row of camera pads to grid
|
||||||
cam.second.enable();
|
cam.second.enable();
|
||||||
}
|
}
|
||||||
if (arg.capper) {
|
if (typeof arg !== 'undefined' && typeof arg.capper !== 'undefined') {
|
||||||
//add capper features to grid
|
//add capper features to grid
|
||||||
capper.enable();
|
capper.enable();
|
||||||
}
|
}
|
||||||
|
@ -92,7 +92,7 @@ class Devices {
|
||||||
grid.state(0);
|
grid.state(0);
|
||||||
grid.state(1);
|
grid.state(1);
|
||||||
seq.stats();
|
seq.stats();
|
||||||
|
log.info('Got past stats');
|
||||||
//@ts-ignore
|
//@ts-ignore
|
||||||
await delay(1000);
|
await delay(1000);
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
{
|
{
|
||||||
"version": "1.8.97",
|
"version": "1.8.98",
|
||||||
"ext_port": 1111,
|
"ext_port": 1111,
|
||||||
"profiles": {
|
"profiles": {
|
||||||
"mcopy": {
|
"mcopy": {
|
||||||
|
|
|
@ -1,12 +1,12 @@
|
||||||
{
|
{
|
||||||
"name": "mcopy",
|
"name": "mcopy",
|
||||||
"version": "1.8.97",
|
"version": "1.8.98",
|
||||||
"lockfileVersion": 2,
|
"lockfileVersion": 2,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "mcopy",
|
"name": "mcopy",
|
||||||
"version": "1.8.97",
|
"version": "1.8.98",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"alert": "file:app/lib/alert",
|
"alert": "file:app/lib/alert",
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "mcopy",
|
"name": "mcopy",
|
||||||
"version": "1.8.97",
|
"version": "1.8.98",
|
||||||
"description": "Small gauge film optical printer platform",
|
"description": "Small gauge film optical printer platform",
|
||||||
"main": "build.js",
|
"main": "build.js",
|
||||||
"directories": {
|
"directories": {
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
{
|
{
|
||||||
"version": "1.8.97",
|
"version": "1.8.98",
|
||||||
"ext_port": 1111,
|
"ext_port": 1111,
|
||||||
"profiles": {
|
"profiles": {
|
||||||
"mcopy": {
|
"mcopy": {
|
||||||
|
|
Loading…
Reference in New Issue