question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Output is incorrect on commands/manage

See original GitHub issue

I have finally upgraded to the latest serverless version. It looks like they may have changed how promises work? I’m not great with node, but I was able to track down where the issue lies.

When I run a manage command, the results come back looking like this: "Operations to perform:\n Apply all migrations: admin, analytics, auth, contenttypes, core, sessions\nRunning migrations:\n No migrations to apply.\n"

Digging through code, I know that the output is coming from here: https://github.com/logandk/serverless-wsgi/blob/master/index.js#L490

It doesn’t appear that the .then is getting triggered at all, as when I put in log statements, the output comes before the .then gets triggered.

I am going to try to fix it, but I am not great with node, so I could definitely use some help.

Serverless version 2.65.0. serverless-wsgi version 2.0.2

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:10 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
logandkcommented, Aug 10, 2022

@babyhuey Sorry about the delay, I got sidetracked. Thanks for the reminder, the release is out.

0reactions
babyhueycommented, Aug 1, 2022

@logandk I don’t mean to be a bother, but can we have a release with this change?

Read more comments on GitHub >

github_iconTop Results From Across the Web

manage-bde | Microsoft Learn
Reference article for the manage-bde command, which turns on or turns off BitLocker, specifies unlock mechanisms, updates recovery methods, ...
Read more >
django-admin and manage.py
Outputs to standard output all data in the database associated with the named application(s). If no application name is provided, all installed applications ......
Read more >
Commands for managing FC adapters - Product documentation
You can use FC commands to manage FC target adapters, FC initiator adapters, and onboard FC adapters for your storage controller.
Read more >
autosys_secure Command -- Define Security Settings
The autosys_secure command is a scheduler and client component utility that defines the EDIT superuser, EXEC superuser, regular user, database ...
Read more >
Dell EMC DD OS Administration Guide
System output, such as an error message or script ... If you enter an incorrect password 4 consecutive times, the system locks out...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found